package com.saas.datasource.core.druid;

import lombok.Data;

/**
 * Druid参数配置
 */
@Data
public class DruidDataSourceConfig {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
    private Integer maxActive;
    private Integer initialSize;
    private Integer minIdle;
    private Integer maxWait;
    private Long timeBetweenEvictionRunsMillis;
    private Long minEvictableIdleTimeMillis;
    private Boolean poolPreparedStatements;
    private Long maxOpenPreparedStatements;
    private String validationQuery;
    private Boolean testWhileIdle;
    private Boolean testOnBorrow;
    private Boolean testOnReturn;
    private String aopPatterns;
    private String loginUsername;
    private String loginPassword;
    private DruidStatConfig filter;
    private DruidSlf4jConfig webStatFilter;

}